/* 
* Copyright (c) 2013, Nordic Semiconductor ASA
* All rights reserved.
* 
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 
* - Redistributions of source code must retain the above copyright notice, this
*   list of conditions and the following disclaimer.
* 
* - Redistributions in binary form must reproduce the above copyright notice, this
*   list of conditions and the following disclaimer in the documentation and/or
*   other materials provided with the distribution.
* 
* - The name of Nordic Semiconductor ASA may not be used to endorse or promote
*   products derived from this software without specific prior written permission.
* 
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/**
* This file is autogenerated by nRFgo Studio 1.16.1.3119 
*/

#ifndef SETUP_MESSAGES_H__
#define SETUP_MESSAGES_H__

#include <stdint.h>
#include <hal_platform.h>
#include <aci.h>
#define PIPE_GAP_DEVICE_NAME_SET 3
#define PIPE_UART_OVER_BTLE_UART_RX_RX 2
#define PIPE_UART_OVER_BTLE_UART_TX_TX 1
#define PIPE_DEVICE_INFORMATION_HARDWARE_REVISION_STRING_SET 4



#define SETUP_ID 0
#define SETUP_FORMAT 3 /** nRF8001 D */
#define ACI_DYNAMIC_DATA_SIZE 135

/* Service: BLIDino - Characteristic: MIDI Service - Pipe: TX */
#define PIPE_BLIDINO_MIDI_SERVICE_TX          1
#define PIPE_BLIDINO_MIDI_SERVICE_TX_MAX_SIZE 20

/* Service: BLIDino - Characteristic: MIDI Service - Pipe: RX */
#define PIPE_BLIDINO_MIDI_SERVICE_RX          2
#define PIPE_BLIDINO_MIDI_SERVICE_RX_MAX_SIZE 20

/* Service: BLIDino - Characteristic: MIDI Service - Pipe: SET */
#define PIPE_BLIDINO_MIDI_SERVICE_SET          3
#define PIPE_BLIDINO_MIDI_SERVICE_SET_MAX_SIZE 20


#define NUMBER_OF_PIPES 3

#define SERVICES_PIPE_TYPE_MAPPING_CONTENT {\
{ACI_STORE_LOCAL, ACI_TX},   \
{ACI_STORE_LOCAL, ACI_RX},   \
{ACI_STORE_LOCAL, ACI_SET},   \
}

#define GAP_PPCP_MAX_CONN_INT 0xc /**< Maximum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
#define GAP_PPCP_MIN_CONN_INT  0x6 /**< Minimum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
#define GAP_PPCP_SLAVE_LATENCY 0
#define GAP_PPCP_CONN_TIMEOUT 0xffff /** Connection Supervision timeout multiplier as a multiple of 10msec, 0xFFFF means no specific value requested */

#define NB_SETUP_MESSAGES 18
#define SETUP_MESSAGES_CONTENT {\
{0x00,\
    {\
        0x07,0x06,0x00,0x00,0x03,0x02,0x41,0xfe,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x03,0x01,0x01,0x00,0x00,0x06,0x00,0x00,\
        0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0e,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x10,0x1c,0x5a,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
        0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x03,0x90,0x02,0xff,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x10,0x38,0xff,0xff,0x02,0x58,0x0a,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,\
        0x00,0x14,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,\
    },\
},\
{0x00,\
    {\
        0x05,0x06,0x10,0x54,0x00,0x00,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x00,0x04,0x04,0x02,0x02,0x00,0x01,0x28,0x00,0x01,0x00,0x18,0x04,0x04,0x05,0x05,0x00,\
        0x02,0x28,0x03,0x01,0x02,0x03,0x00,0x00,0x2a,0x04,0x04,0x14,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x1c,0x07,0x00,0x03,0x2a,0x00,0x01,0x42,0x4c,0x49,0x44,0x49,0x6e,0x6f,0x65,0x6d,0x69,\
        0x2e,0x63,0x6f,0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x38,0x05,0x05,0x00,0x04,0x28,0x03,0x01,0x02,0x05,0x00,0x01,0x2a,0x06,0x04,0x03,0x02,\
        0x00,0x05,0x2a,0x01,0x01,0x00,0x00,0x04,0x04,0x05,0x05,0x00,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x54,0x06,0x28,0x03,0x01,0x02,0x07,0x00,0x04,0x2a,0x06,0x04,0x09,0x08,0x00,0x07,0x2a,\
        0x04,0x01,0x06,0x00,0x0c,0x00,0x00,0x00,0xff,0xff,0x04,0x04,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x70,0x02,0x02,0x00,0x08,0x28,0x00,0x01,0x01,0x18,0x04,0x04,0x10,0x10,0x00,0x09,0x28,\
        0x00,0x01,0x00,0xc7,0xc4,0x4e,0xe3,0x6c,0x51,0xa7,0x33,0x4b,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0x8c,0xe8,0xed,0x5a,0x0e,0xb8,0x03,0x04,0x04,0x13,0x13,0x00,0x0a,0x28,0x03,0x01,0x16,\
        0x0b,0x00,0xf3,0x6b,0x10,0x9d,0x66,0xf2,0xa9,0xa1,0x12,0x41,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x20,0xa8,0x68,0x38,0xdb,0xe5,0x72,0x77,0x54,0x14,0x14,0x00,0x00,0x0b,0xe5,0xdb,0x03,0x00,\
        0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
    },\
},\
{0x00,\
    {\
        0x16,0x06,0x20,0xc4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x46,0x14,0x03,0x02,0x00,0x0c,0x29,0x02,0x01,\
        0x00,0x00,0x00,\
    },\
},\
{0x00,\
    {\
        0x0d,0x06,0x40,0x00,0xe5,0xdb,0x03,0x00,0x8a,0x04,0x00,0x0b,0x00,0x0c,\
    },\
},\
{0x00,\
    {\
        0x1f,0x06,0x50,0x00,0x00,0xc7,0xc4,0x4e,0xe3,0x6c,0x51,0xa7,0x33,0x4b,0xe8,0xed,0x00,0x00,0xb8,0x03,\
        0xf3,0x6b,0x10,0x9d,0x66,0xf2,0xa9,0xa1,0x12,0x41,0x68,0x38,\
    },\
},\
{0x00,\
    {\
        0x07,0x06,0x50,0x1c,0x00,0x00,0x72,0x77,\
    },\
},\
{0x00,\
    {\
        0x06,0x06,0x60,0x00,0x00,0x00,0x00,\
    },\
},\
{0x00,\
    {\
        0x06,0x06,0xf0,0x00,0x03,0x84,0xcb,\
    },\
},\
}

#endif
